<?php

/**
 * myaccount actions.
 *
 * @package    Nika
 * @subpackage myaccount
 * @author     Alexey Shapran (alexey.shapran@gmail.com)
 * @version    SVN: $Id: actions.class.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class myaccountComponents extends sfComponents
{
	/**
	 * Executes index action
	 *
	 * @param sfRequest $request A request object
	 */
	public function executeShowuserblock(sfWebRequest $request)
	{
		$this->user = sfGuardUser::retrievaccountbyid($this->userid);
	}

	function executeShowlastregistered(sfWebRequest $request) {
//		$this->lastregisteredusers = sfGuardUser::retrieveLastRegisteredWithAvatar();
		$this->lastregisteredusers = sfGuardUser::getLastRegistered();
	}
}